package com.sun.showcase.client.query.mall;

import com.sun.showcase.client.domain.mall.Distribution;
import com.sun.showcase.pojo.SearchModel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class DistributionQuery extends SearchModel<Distribution> implements Serializable {
    
  private static final long serialVersionUID = 3148176768559230877L;
    

	  /**
     * ID       db_column: id 
     */	
	private String id;
	  /**
     * 商品id       db_column: goods_id
     */
	private String goodsId;
	  /**
     * 商品名       db_column: goods_name
     */
	private String goodsName;
	  /**
     * 店铺id       db_column: shop_id
     */
	private String shopId;
	  /**
     * 店铺名       db_column: shop_name
     */
	private String shopName;
	  /**
     * 比例       db_column: rate
     */
	private Double rate;
	  /**
     * 分销层级       db_column: level
     */
	private Integer level;
	  /**
     * 创建时间       db_column: create_date
     */
	private java.util.Date createDate;
	/**
	 * 封装修改时的where条件  key为数据库字段值  value为条件值
	 * */
	private Map<String,Object> searchMap = new HashMap<String,Object>();
	/**
	 * 数据表主键id的数组
	 * */
	private String ids[];

	public String getId() {
		return this.id;
	}

	public void setId(String value) {
		this.id = value;
	}

	public String getGoodsId() {
		return this.goodsId;
	}

	public void setGoodsId(String value) {
		this.goodsId = value;
	}

	public String getGoodsName() {
		return this.goodsName;
	}

	public void setGoodsName(String value) {
		this.goodsName = value;
	}

	public String getShopId() {
		return this.shopId;
	}

	public void setShopId(String value) {
		this.shopId = value;
	}

	public String getShopName() {
		return this.shopName;
	}

	public void setShopName(String value) {
		this.shopName = value;
	}

	public Double getRate() {
		return this.rate;
	}

	public void setRate(Double value) {
		this.rate = value;
	}

	public Integer getLevel() {
		return this.level;
	}

	public void setLevel(Integer value) {
		this.level = value;
	}

	public java.util.Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(java.util.Date value) {
		this.createDate = value;
	}

	public Map<String, Object> getSearchMap() {
		return searchMap;
	}

	public void setSearchMap(Map<String, Object> searchMap) {
		this.searchMap = searchMap;
	}

	public String[] getIds() {
		return ids;
	}

	public void setIds(String[] ids) {
		this.ids = ids;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.DEFAULT_STYLE);
	}
	
}

